package com.twu.biblioteca;

/**
 * Created by renatagrfarias on 9/30/14.
 */
public class Movie {

    private String id;
    private String name;
    private String director;
    private String year;
    private int rating;
    private boolean checkOut;

    public Movie(String id, String name, String director, String year, int rating){
        this.id = id;
        this.name = name;
        this.director = director;
        this.year = year;
        this.rating = rating;
        checkOut = false;
    }

    public String getId(){
        return id;
    }

    public String getName(){
        return name;
    }

    public String getDirector(){
        return director;
    }

    public String getYear(){
        return year;
    }

    public int getRating() { return rating; }

    public boolean getCheckOut() { return checkOut; }

    public void setId(String newId){
        this.id = newId;
    }

    public void setName(String newName){
        this.name = newName;
    }

    public void setDirector(String newDirector){
        this.director = newDirector;
    }

    public void setYear(String newYear){
        this.year = newYear;
    }

    public void setRating(int newRating){
        this.rating = newRating;
    }

    public void setCheckOut(boolean newCheckOut){
        this.checkOut = newCheckOut;
    }
}
